package com.hjqjl.module_choice.ui.fragment;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.launcher.ARouter;
import com.blankj.utilcode.util.ToastUtils;
import com.hjqjl.module_choice.databinding.ChoiceFragmentBinding;
import com.hjqjl.module_choice.ui.CountDownActivity;
import com.hjqjl.module_choice.ui.DialogStylesActivity;
import com.hjqjl.module_choice.ui.SeeBarkActivity;
import com.hjqjl.whapplib.base.BaseFragment;
import com.hjqjl.whapplib.router.RouterPath;


@Route(path = RouterPath.CHOICE_CHOICE_FRAGMENT)
public class ChoiceFragment extends BaseFragment<ChoiceFragmentBinding> {

    @Override
    public void initListener() {
        pVBinding.choiceBtnChoice1.setOnClickListener(v -> ToastUtils.showShort("choiceButton"));
        pVBinding.choiceBtnChoiceCountDown.setOnClickListener(v -> CountDownActivity.start(getActivity()));
        pVBinding.choiceBtnChoiceDialog.setOnClickListener(v -> DialogStylesActivity.start(getActivity()));
        pVBinding.choiceBtnChoiceSeeBar.setOnClickListener(v -> SeeBarkActivity.start(getActivity()));
    }
}
